package io.renren.dao;


import io.renren.common.dao.BaseDao;
import io.renren.dto.SupplierDTO;
import io.renren.entity.SupplierEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 供应商表
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-11-22
 */
@Mapper
public interface SupplierDao extends BaseDao<SupplierEntity> {
    @Select("select * from canteens_supplier where supplier_id = " +
            "'${id}'")
    SupplierDTO getSupplier(Long id);
}